package com.timebank.websocket;

import com.timebank.common.security.annotation.EnableCustomConfig;
import com.timebank.common.security.annotation.EnableTimeBankFeignClients;
import com.timebank.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * websocket 服务
 * @author shiliuyinzhen
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableTimeBankFeignClients
@SpringBootApplication
@ComponentScan("com.timebank.**")
public class TimeBankWebSocketApplication {
	public static void main(String[] args) {
		SpringApplication.run(TimeBankWebSocketApplication.class, args);
	}
}
